﻿namespace UniSender
{
    public class SmsResult
    {
        public virtual string Id { get; set; }
        public virtual Currency Currency { get; set; }
        public virtual decimal Price { get; set; }

        public SmsResult()
        { }

        public SmsResult(Native.SmsResult native)
        {
            Id = native.sms_id;
            Price = native.price;
            Currency = Utility.ParseEnum<Currency>(native.currency);
        }
    }
}
